package com.yonyou.sto.modules.ims.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yonyou.sto.common.api.CommonResult;
import com.yonyou.sto.modules.ims.dto.TaxItemDto;
import com.yonyou.sto.modules.ims.model.ImsBuyer;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author aegon
 * @since 2020-09-28
 */
public interface ImsBuyerService extends IService<ImsBuyer> {

    CommonResult create(ImsBuyer buyer);

    CommonResult info(Long id);

    CommonResult findByBuyerName(String buyerName);

    CommonResult delete(Long id);

    Page<ImsBuyer> buyerList(String keyword, Integer pageSize, Integer pageNum);

    ImsBuyer getBuyerByBuyerTaxSn(String buyerTaxSn);

    CommonResult importBuyer(MultipartFile file);
}
